import Axios from "axios"

const api_base_url = "http://127.0.0.1:10086"


// 提交试卷
export function paper_save(para){
    return Axios({
        url: api_base_url+"/paper/save",
        method:"POST",
        data: para
    })
}

// 查询试卷
export function paper_get(subject){
    return Axios({
        url: api_base_url+"/paper/get?subject="+subject,
        method: "GET"
    })
}